﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Omes.Services;

namespace Omes.Admin.MasterPage
{
    public partial class ContentManageMaster : System.Web.UI.MasterPage
    {
        protected string UserName { get; set; }

        public List<Dictionary<string, string>> BarContents = new List<Dictionary<string, string>>();

        protected void Page_Load(object sender, EventArgs e)
        {
            //if (!Page.IsPostBack)
            //{
                if (Session["omesuser"] != null)
                {
                    UserName = Session["omesuser"].ToString();
                }
                Omes.Services.DbServer db = new DbServer();
                BarContents = db.GetBarConents();
            //}
        }
    }
}